|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.StrategyParameters
public class StrategyParameters
Simple class which stores the parameters given to a negotiation strategy, for example an concession factor.
| Constructor Summary | |
|---|---|
StrategyParameters()
Create an empty hashmap of parameters. |
|
| Method Summary | |
|---|---|
void |
addVariable(java.lang.String name,
java.lang.String value)
Add a parameter to the list of parameters. |
double |
getValueAsDouble(java.lang.String name)
Returns the value of the parameter with the given name as double. |
java.lang.String |
getValueAsString(java.lang.String name)
Returns the value of the parameter with the given name as string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrategyParameters()
| Method Detail |
|---|
public void addVariable(java.lang.String name,
java.lang.String value)
name - of the parameter.value - of the parameter.public java.lang.String getValueAsString(java.lang.String name)
name - of the given parameter.
public double getValueAsDouble(java.lang.String name)
name - of the given parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||